package com.sbr.esbmonitor.tests.helpers;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import com.sbr.esbmonitor.camel.model.Endpoint;
import com.sbr.esbmonitor.tests.builders.EndpointBuilder;
import com.sbr.esbmonitor.tests.builders.ServerTypeBuilder;
import com.sbr.esbmonitor.tests.builders.ServersTypeBuilder;

public class BuildersHelper {

	private BuildersHelper() {
	}
	
	public static List<Endpoint> aListOfEndpoint(Endpoint... endpoints) {
		return new ArrayList<Endpoint>(Arrays.asList(endpoints));
	}
	
	public static EndpointBuilder anEndpoint() {
		return new EndpointBuilder();
	}
	
	public static ServersTypeBuilder aXMLListOfServers() {
		return new ServersTypeBuilder();
	}
	
	public static ServerTypeBuilder aServer() {
		return new ServerTypeBuilder();
	}
	
}
